<body bgcolor="LightSteelBlue"
<h1  align="center"> The Joy of Forums.....<img src="http://www.graphicmania.net/wp-content/uploads/forum-icon.png" >
</h1>
<hr>
<ul  >
<h2> Category Name   <%= @category.categoryName %>
<% @int = 0 %>
<% @int += @category.id %>
</h2>
<ul>
<% form_tag :controller => :topics, :action => :createTopic, :id => @int do %>

<%= 'Create a New Topic...'  %>
<br/>
<br/>

    <% @topic =Topic.new %>
 
    <% @topic.category_id  %>
    <font color="#ffffff">
    <div style="display:none;">
    <%= text_field :topic, :category_id %>
    </div>
    <font color="#000000">
    Topic Name:     <%=   text_field:topic, :topicName %>
    <br/>
    <br/>
 Topic Content: 
<br/><%= text_area:topic, :topicContent, :rows => 12, :cols =>50  %>
    <br/>
    <br/>
    Topic owner: <%= text_field:topic, :topicOwner %>
    <br/>
    <br/>    
    <%= submit_tag 'Add new Topic' %>
<% end %>
</ul>
</body>